<?php
$hidepost_content_text = 'Please %login% or %register% to read the rest of this content.';
$hidepost_link_text = 'Please %login% or %register% to see the link.';
$hidepost_hide_link = 0;
$hidepost_allow_bot = 0;
$hidepost_hide_content = 0;
$hidepost_role_text = 'You must be a(n) %role% to view this content';

//My Old Var, just for older blog
if (get_option('content_text')) $hidepost_content_text = trim(get_option('content_text'));
if (get_option('link_text')) $hidepost_link_text = trim(get_option('link_text'));
if (get_option('hide_link')) $hidepost_hide_link = get_option('hide_link');
if (get_option('allow_bot')) $hidepost_allow_bot = get_option('allow_bot');
if (get_option('hide_content')) $hidepost_hide_content = get_option('hide_content');

//My replaced var,
if (get_option('hidepost_content_text')) $hidepost_content_text = trim(get_option('hidepost_content_text'));
if (get_option('hidepost_link_text')) $hidepost_link_text = trim(get_option('hidepost_link_text'));
if (get_option('hidepost_role_text')) $hidepost_role_text = trim(get_option('hidepost_role_text'));
if (get_option('hidepost_hide_link')) $hidepost_hide_link = get_option('hidepost_hide_link');
if (get_option('hidepost_allow_bot')) $hidepost_allow_bot = get_option('hidepost_allow_bot');
if (get_option('hidepost_hide_content')) $hidepost_hide_content = get_option('hidepost_hide_content');
?>